package com.github.ki4so.sso;

public class RtnCodeConst {

	public RtnCodeConst() {
	}
	//缺参数
	public final static String PARAM_NULL = "-1";
	//Token参数为null
	public final static  String TOKEN_NULL = "10000001";
	//Token非法
	public final static  String TOKEN_INVALID = "10000002";
	//接口访问成功
	public final static String SUCCESS = "0";
	
	public final static String USERINFO_GET_FAIL = "10000003";
	
	public final static String SMS_SEND_FAIL = "100000004";
	
	//非法应用访问,生成token时发现appid非法
	public final static String LOGIN_TOKEN_GEN_APPID_ERROR = "10000005";
	
	//刷新token时,获取用户信息失败
	public final static String REFRESH_TOKEN_GETUSERINFO_ERROR = "10000006";
	
	//获取用户信息失败
	public static final String GETUSERINFO_ERROR = "100000007";
	
	//验证码过期
	public static final String VALIDATA_CODE_EXPIRIED = "10000008";
	
	//登陆系统错误
	public static final String LOGING_ERROR = "10000009";
	
	//用户不存在
    public static final String LOGIN_USER_NOT_EXISTS="100000010";
    
    //注册失败
    public static final String REGISETR_FAIL="100000011";
    //注册时用户手机已经注册
    public static final String REGSTER_USER_EXISTS="100000012";
    
    //找回密码_更新密码失败
    public static final String  FINDPASS_UPDATE_ERROR="100000013";
    
    //发送短信验证码时，如果需要验证用户手机号，但用户手机号不存在
    public static final String  SENDSMSCODE_MOBILE_NOT_EXITST="100000014";

    //修改用户名失败
    public static final String  UPATE_NAME_ERROR="100000015";

    //联合登陆绑定错误
    public static final String  UNION_LOGIN_BIND_ERROR="100000016";

    //联合登陆from参数错误
    public static final String UNKNOW_UNION_FROM = "100000017";

    //联合登陆传入的code有误
    public static final String  UNION_LOGIN_INVALID_CODE="100000018";

}
